<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class Activity extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('activity', function (Blueprint $table) {
            $table->increments('activity_id');
            $table->string('activity_title',11);
            $table->enum('activity_type',array(1,2));
            $table->string('activity_2');
            $table->string('activity_3',240);
            $table->string('activity_banner',255);
            $table->string('activity_style',255);
            $table->string('activity_desc',1000);
            $table->integer('activity_start_date')->default(0);
            $table->dateTime('activity_end_date')->default('2001-11-20');
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('activity');

    }
}
